<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    setTimeout(function (){
        console.log(2000)
    },2000)
    setTimeout(function (){
        console.log(1000)
    },1000)

    console.log('alert前')
    alert('11111111111')
    console.log('alert后')
</script>
</body>
</html>